
package model.persistence;

import javax.persistence.EntityManager;
import javax.persistence.EntityManagerFactory;
import javax.persistence.Persistence;

public class GerenciadorEntidades {

    
    private static EntityManagerFactory emf = Persistence.createEntityManagerFactory("PU-gerenciamento-clinica-bd-gui-psw-2013");
   
    public static EntityManager getEntityManager() {
        return emf.createEntityManager();
    }
    
    
    
}
